QT += quick sql quickwidgets xml svg axcontainer charts quickcontrols2 \
    widgets serialport

CONFIG += c++11
include(./src/xlsx/qtxlsx.pri)

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += ./eigen_3_4_0
INCLUDEPATH += ./
INCLUDEPATH += ./DataAnalysisWindow
INCLUDEPATH += ./DataAnalysisWindow/DataAnalysisAlgorithm
INCLUDEPATH += ./RunningDisplay
RC_ICONS = logo.ico

SOURCES += \
    CommonHelper.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcExponent.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcLogistic.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcModel.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcRichards.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcSigmoid.cpp \
    DataAnalysisWindow/PCRStateDatao.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/qpcrModel_calculation.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/qpcrModel_interface.cpp \
    DataAnalysisWindow/DataAnalysisAlgorithm/qpcrModel_static.cpp \
    DataAnalysisWindow/dataanalysis.cpp \
    DataAnalysisWindow/pcrState.cpp \
    DataAnalysisWindow/pcrStateCalculator.cpp \
    GetTempThread.cpp \
    SerialPortClient.cpp \
    eqptinfo.cpp \
    experimentInfo.cpp \
    experimentPro.cpp \
    historyexperiment.cpp \
    keyEventFilter.cpp \
    logHelperJ.cpp \
    loghelper.cpp \
    maco.cpp \
    mockInterface.cpp\
    main.cpp\
    amplprogram.cpp \
    dbHelper.cpp \
    qmlSignal.cpp \
    runningDisplay/runningChart.cpp \
    runningDisplay/runningChartBar.cpp \
    saveExpInfo.cpp \
    setUp.cpp \
    tcpclient.cpp \
    uploadfile.cpp \
    widgetanchor.cpp \
    wlkOperator.cpp

RESOURCES += qml.qrc \
    resource.qrc

HEADERS += \
    CommonHelper.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcExponent.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcLogistic.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcModel.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcRichards.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/funcSigmoid.h \
    DataAnalysisWindow/analysisState.h \
    DataAnalysisWindow/DataAnalysisAlgorithm/qpcrModel.h \
    DataAnalysisWindow/dataanalysis.h \
    DataAnalysisWindow/pcrState.h \
    GetTempThread.h \
    SerialPortClient.h \
    eqptinfo.h \
    experimentInfo.h \
    experimentPro.h \
    historyexperiment.h \
    intListener.h \
    keyEventFilter.h \
    logHelperJ.h \
    loghelper.h \
    maco.h \
    mockInterface.h\
    amplprogram.h \
    dbHelper.h \
    qmlSignal.h \
    runningDisplay/runningChart.h \
    runningDisplay/runningChartBar.h \
    saveExpInfo.h \
    setUp.h \
    tcpclient.h \
    uploadfile.h \
    widgetanchor.h \
    wlkOperator.h

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES +=

FORMS +=
